package com.syni.mdd.yhd.common.all.constants;

import com.syni.mdd.yhd.common.all.entity.push.PushTemplate;
import lombok.extern.log4j.Log4j2;
import org.springframework.stereotype.Component;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

/**
 * @className AuroraPushCode
 * @description TOO
 * @Author cfx
 * @DATE 2019/7/16 16:24
 * @VERSION 1.0
 **/
@Component
@Log4j2
public class AuroraPushCode {
    public static String USER_DO_LIKE = "10000";            //用户点赞
    public static String USER_DO_COMMENT = "10001";        //用户/商户评论
    public static String USER_DO_ANSWER = "10002";        //用户/商户回复
    public static String USER_DO_ANSWER_ANSWER = "10003";        //用户/商户二层回复
    public static String USER_RECE_GROUP_MES = "10004";        //店铺促销消息
    public static String USER_PAY = "10005";                    //用户支付买单订单
    public static String USER_PAY_GROUP_BUY = "10006";          //用户支付团购订单
    public static String USER_USE_GROUP_BUY = "10007";          //用户使用团购券
    public static String USER_REFUND = "10008";          //用户退款
    public static String VIDEO_AUDIT_FAIL= "10009";          //视频审核未通过
    public static String VIDEO_AUDIT_SUCCESS = "10010";          //视频审核已通过
    public static String VIDEO_MAN_OFFLINE = "10011";          //视频被后台强制下线
    public static String USER_RECE_PRO_CODE = "10012";          //推送用户接受个人二维码
    public static String USER_RECE_CHAT_COUPON = "10013";          //用户接受群聊券库促销
    public static String USER_FX_INFO = "10014";                          //用户收到分销通知

    public static String BUSINESS_RECE_PAY = "20000";          //店铺被买单
    public static String BUSINESS_VER_GROUP_USE = "20001";     //店员核销团购券
    public static String BUSINESS_AUDIT_SUCCESS = "20002";          //店铺审核通过
    public static String BUSINESS_AUDIT_FAIL = "20003";          //店铺审核未通过
    public static String BUSINESS_VIDEO_SUCCESS = "20004";          //店铺视频审核通过
    public static String BUSINESS_VIDEO_FAIL = "20005";          //店铺视频审核未通过
    public static String ASSISTANT_VIDEO_SUCCESS = "20006";          //店员视频审核通过
    public static String ASSISTANT_VIDEO_FAIL = "20007";          //店员视频审核未通过
    public static String ASSISTANT_VIDEO_RELEASE = "20008";          //店员发布视频
    public static String BUSINESS_REPORT_ERROR = "20009";          //店铺被报错
    public static String BUSINESS_GROUPBUY_AUDIT_SUCCESS = "20010";          //团购审核通过
    public static String BUSINESS_GROUPBUY_AUDIT_FAIL = "20011";          //团购审核不通过
    public static String BUSINESS_GROUPBUY_OFFINE = "20012";          //团购被强制下线
    public static String BUSINESS_COUPON_OFFINE = "20013";          //买单被强制下线
    public static String BUSINESS_MESSAGE_DELETE = "20014";          //群发消息被强制删除
    public static String BUSINESS_BANK_CONFIRM = "20015";         //银行卡确认
    public static String BUSINESS_PAY_CONFIRM = "20016";          //支付宝确认
    public static String BUSINESS_ADMIN_VER_GROUP_USE = "20017";  //管理员核销
    public static String BUSINESS_FORCE_OFFLINE = "20018";  //店铺被强制下架


    public static Map<String, PushTemplate> pushTemplateMap = new ConcurrentHashMap<>();

    public static Map<String, Map<String,String>> pushTemplateImproveMap = new ConcurrentHashMap<>();
}
